package com.ilxqx.framework.amqp.constant;

import com.google.common.collect.Lists;

import java.util.List;

/**
 * Rabbit消息队列常量配置
 * @author venus
 */
public interface RabbitMessageConstants {

    /**
     * 最大尝试次数
     */
    int MAX_RETRY_COUNT = 3;

    /**
     * 需要尝试的状态
     */
    List<String> NEED_RETRY_STATUSES = Lists.newArrayList("a", "c", "d");

}
